﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ZsCon.aspx.cs" Inherits="Three_Managerment_P0500_ZsCon" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/style/css/style6.css" rel="stylesheet" type="text/css" />



<link href="/style/kindeditor/plugins/code/prettify.css" rel="stylesheet" type="text/css" />
    <script src="/style/kindeditor/lang/zh_CN.js" type="text/javascript"></script>
    <script src="/style/kindeditor/kindeditor.js" type="text/javascript"></script>
    <script src="/style/kindeditor/plugins/code/prettify.js" type="text/javascript"></script>  
    <script type="text/javascript">
        KindEditor.ready(function (K) {
            var editor = K.create('#content', {
                //上传管理
                uploadJson: '/style/kindeditor/asp.net/upload_json.ashx',
                //文件管理
                fileManagerJson: '/style/kindeditor/asp.net/file_manager_json.ashx',
                allowFileManager: true,
                //设置编辑器创建后执行的回调函数
                afterCreate: function () {
                    var self = this;
                    K.ctrl(document, 13, function () {
                        self.sync();
                        K('form[name=example]')[0].submit();
                    });
                    K.ctrl(self.edit.doc, 13, function () {
                        self.sync();
                        K('form[name=example]')[0].submit();
                    });
                },
                //上传文件后执行的回调函数,获取上传图片的路径
                afterUpload: function (url) {
                    alert(url);
                },
                //编辑器高度
                width: '88%',
                resizeType :0,
                //编辑器宽度
                height: '450px;',
                //配置编辑器的工具栏
                items: [
                'source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste',
                'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
                'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
                'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
                'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
                'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
                'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
                'anchor', 'link', 'unlink', '|', 'about'
                ]
            });
            prettyPrint();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">表单</a></li>
            </ul>
        </div>

        <div class="formbody">

            <div class="formtitle"><span>知识信息维护</span></div>

            <div class="tab_12">
                <div class="bottab4">
                    <p>知识分类：</p>
                    <span><label id="lab_fl" runat="server"></label></span>
                </div>

                <div class="bottab4">
                    <p>标题：</p>
                    <span>
                    <asp:TextBox ID="title" runat="server"></asp:TextBox></span>
                        <%--<input type="text" id="title" runat="server"/>--%>
                </div>

                <div class="bottab8">
                    <p>内容：</p>
                   
                         <asp:TextBox id="content" name="content" TextMode="MultiLine" runat="server"></asp:TextBox>

                </div>
            </div>
            
            <input name="" type="button" value="返回" class="bunt_2" onclick="javascript: history.go(-1)"/>
            <input name="" type="button" value="打印" class="bunt_2" />
            <asp:Button text="保存" ID="saves" OnClick="saves_Click" class="bunt_2" runat="server"/>
          
        </div>

    </form>
</body>
</html>